/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework.demo02;

/**
 *
 * 2010404101 石立立
 */
public class Person {
    private String name;
    private String telphone;
    private String address;

    public Person() {
    }

    public Person(String name, String telphone, String address) {
        this.name = name;
        this.telphone = telphone;
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
        
        
        
    }

    @Override
    public String toString() {
        return this.getName()+""+this.getTelphone();
    }
    
    

}
